<!DOCTYPE html>
<html>
<head>
	  <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
   <title>Swipe</title> 
   <script type="text/javascript" src="jscolor/jscolor.js"></script>
   <script type="text/javascript" src="haima.js"></script>
   <script type="text/javascript" src="jquery.js"></script>
   <script type="text/javascript" src="hammer.min.js"></script>       
   <link rel="stylesheet" href="bootstrap.min.css">
   <link rel="stylesheet" href="bootstrap-theme.min.css">
   
    <style type="text/css">
    /*.show-grid [class ^="col"] {
            padding-top: 10px;
            padding-bottom: 10px;
            background-color: #eee;
            border: 1px solid #ddd;
            background-color: rgba(86, 61, 124, .15);
            border: 1px solid rgba(86, 61, 124, .2);
            white-space: nowrap;
        }*/
   *{
    margin: 0;
    padding: 0;
   }
  .xy{
    position: relative;
    border-bottom: 1px solid #ccc;
    height: 45px;
    width: 100%;
    cursor:pointer;

  }
  .xy img{
    position: absolute;
    width: 12px;
    height: 17px;
    right: 20px;
     top: 15px;
  }
  .xy p{
    font-size: 18px;
    /*margin:15px 20px;*/
    position: absolute;
    top:10px;
    left:20px;
  }
  .messageFeedback{
    position: relative;
    border-bottom: 1px solid #ccc;
    height: 45px;
    width: 100%;
    cursor:pointer;

  }
  .messageFeedback img{
    position: absolute;
    width: 12px;
    height: 17px;
    right: 20px;
     top: 15px;
  }
  .messageFeedback p{
    font-size: 18px;
    /*margin:15px 20px;*/
    position: absolute;
    top:10px;
    left:20px;
  }
  .serviceArtical{
    position: relative;
    border-bottom: 1px solid #ccc;
    height: 45px;
    width: 100%;
    cursor:pointer;

  }
  .serviceArtical img{
    position: absolute;
    width: 12px;
    height: 17px;
    right: 20px;
     top: 15px;
  }
  .serviceArtical p{
    font-size: 18px;
    /*margin:15px 20px;*/
    position: absolute;
    top:10px;
    left:20px;
  }
  div:active{
    background: rgba(220,220,220,.5);
  }
  a{
    color:#000 !important;
  }

   </style>
  
</head>
<body>

<div class="serviceArtical">
  <p class="serviceClick">服务协议</p>
  <img src="arrow-right_01.png" alt="" id="serviceClick" class="goleft">
</div>
<div class="xy">
  <p class="updateClick">检查更新</p>
  <img id="updateClick" src="arrow-right_01.png" alt="" class="goleft">
</div>
<div class="messageFeedback">
  <p class="messageClick">意见反馈</p>
  <img id="messageClick" src="arrow-right_01.png" alt="" class="goleft">
  </div>
<script type="text/javascript">
function bindEvent () {
      var mc = new Hammer.Manager(document.body);

      mc.add(new Hammer.Tap());
          mc.on("tap", function (e) {
          
          var className=$(e.target).attr("class");
          if(className=="serviceArtical" || className=="serviceClick" || e.target.id == "serviceClick"){
            
            api.pushAUiViewController("serviceArtical.html");
          }
          
          if(className=="xy" || className =="updateClick" || e.target.id=="updateClick"){
            api.checkAppVersion();
          }

          if(className=="messageFeedback" || className =="messageClick" || e.target.id == "messageClick"){
            api.gotoAdvice();
          }
          
      });
    }
    bindEvent();
</script>
</body>
</html>

 